-- GENERATED SPELL FOR [Ruuzel] --


function spell0_3943(pUnit, Event) --@Battle Stance,Self--
pUnit:FullCastSpellOnTarget(7165,pUnit)
pUnit:RegisterEvent('Sorts_3943', 629, 1)
end

function spell1_3943(pUnit, Event) --@Heroic Strike,n/a--
pUnit:FullCastSpellOnTarget(25712,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_3943', 618, 1)
end

function Sorts_3943(pUnit, Event)
local choix_sorts_3943 = math.random(0, 1)
if choix_sorts_3943 == 0 then
pUnit:RegisterEvent('spell0_3943', 1, 1)
end
if choix_sorts_3943 == 1 then
pUnit:RegisterEvent('spell1_3943', 1, 1)
end
end

function mob3943_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_3943', math.random(1500, 3000), 1)
end

function mob3943_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob3943_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob3943_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(3943, 1, 'mob3943_Action')
RegisterUnitEvent(3943, 2, 'mob3943_Leave')
RegisterUnitEvent(3943, 3, 'mob3943_Kill')
RegisterUnitEvent(3943, 4, 'mob3943_Die')
